package com.bigknow.appstore.web.app.service;

import com.bigknow.appstore.web.app.vo.AppCategoryVO;
import com.bigknow.appstore.web.app.vo.AppVO;
import com.bigknow.appstore.web.app.vo.BannerVO;
import com.bigknow.appstore.web.console.app.Tag;

import java.util.List;
import java.util.Map;

/**
 * Created by zhangwei on 2016/10/14.
 */
public interface IAppStoreService {

    public Map<Integer, List<AppCategoryVO>> getCategories();

    public List<AppVO> top(int num);

    public List<AppVO> getCommonApps();

    public List<AppVO> getRecommendApps();

    public List<BannerVO> getBanners();

    public AppVO getApp(String id);

    public List<AppVO> getRelatedApps(String id);

    public boolean isLogin();

    public String getUser();

    public AppCategoryVO getCategory(String id);

    public List<AppVO> getAppsByCondition(String[] tags, String orderType, String categoryId, String appName);

    public List<Tag> getAllTags();

    public List<String> getBannerAppIds(String id);

    public List<AppVO> getAppsByIds(List<String> ids);

    public List<Tag> getTags();

}
